package com.kai.service.data.dto.wechat.receive;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@Data
@EqualsAndHashCode(callSuper = false)
@XmlRootElement(name = "xml")
@XmlAccessorType(XmlAccessType.FIELD)
public class ShortVideoMessageReceiveDto extends MessageReceiveDto {

    private static final long serialVersionUID = -2643857462379572890L;

    /**
     * 视频消息媒体id，可以调用获取临时素材接口拉取数据
     */
    @XmlElement(name = "MediaId")
    private String mediaId;

    /**
     * 视频消息缩略图的媒体id，可以调用获取临时素材接口拉取数据
     */
    @XmlElement(name = "ThumbMediaId")
    private String thumbMediaId;
}
